<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="jquery/jquery.js"></script>
    <script>
        $(function () {
            $.post("http://localhost/article/add",{id:5},function (data) {
                $('#span1').html(data)
            })
        })
    </script>
</head>
<body>
<div>
    阅读量:<span id="span1">0</span>
</div>
</body>
</html>